package net.lulihu.common_util.validated;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

public class UserLoginValidator implements Validator {


    public boolean supports(Class clazz) {
        System.out.println(clazz);
        return true;
    }

    public void validate(Object target, Errors errors) {
        System.out.println(target);
    }
}